<template>
    <div id="app">
        <router-view/>
    </div>
</template>

<script>
import { Datetime, Group } from 'vux'
export default {
    name: 'App',
    components: {
        Datetime,
        Group
    },
    /*mounted() {
            if (this._isMobile()) {
                
            } else {
               window.location.href = "/app/";
            }
        },
        methods: {
            _isMobile() {
                let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)
                return flag;
            }
        }*/
}
</script>

<style>
#app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    /* margin-top: 60px; */
}
</style>
